<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <title>后盾问答</title>
            <meta name="keywords" content="后盾问答"/>
            <meta name="description" content="后盾问答"/>
            {HD: include file="../Common/header.html"}
            {HD: css file='member.css'}
            <!--------------------中部-------------------->
            <div id='center'>
                <!-- 左侧 -->
                {HD: include file="../Common/left.html"}
                <!-- 左侧结束 -->
                <div id='right'>

                    <p class='title'>我的首页</p>

                    <ul class='property'>
                        <li>金币：<span>{HD: $userinfo.point}</span></li>
                        <li>经验值：<span>{HD: $userinfo.exp}</span></li>
                        <li>采纳率：<span>{HD: $percent}%</span></li>
                    </ul>
                    <div class='list'>
                        <p><span>我的提问 <b>(共{HD: $userinfo.ask}条)</b></span><a href="{HD: $smarty.const.__ROOT__}?c=Member&m=my_ask">更多>></a></p>
                        <table>
                            {HD: if $userinfo.ask}
                            <tr>
                                <th class='t1'>标题</th>
                                <th>回答数</th>
                                <th class='t3'>更新时间</th>
                            </tr>
                            {HD: section loop=$askData name=n}
                            <tr>
                                <td class='t1'>
                                    <a href="{HD: $smarty.const.__ROOT__}?c=Show&asid={HD: $askData[n].ask_id}&cid={HD: $askData[n].cid}">{HD: $askData[n].con }</a><span> [{HD: $askData[n].title }]</span>
                                </td>
                                <td>{HD: $askData[n].num }</td>
                                <td class='t3'>{HD: $askData[n].t|date_format:"%Y-%m-%d %H:%M" }</td>
                            </tr>
                            {HD: /section}
                            {HD: else}
                            <tr height='140'>
                                <td>你还没有进行过提问</td>
                            </tr>
                            {HD: /if}
                        </table>
                    </div>
                    <div class='list'>
                        <p><span>我的回答 <b>(共{HD: $userinfo.answer}条)</b></span><a href="{HD: $smarty.const.__ROOT__}?c=Member&m=my_answer">更多>></a></p>
                        <table>
                            {HD: if $userinfo.answer}
                            <tr>
                                <th class='t1'>标题</th>
                                <th>回答</th>
                                <th class='t3'>更新时间</th>
                            </tr>
                            {HD: section loop=$ansData name=m}
                            <tr>
                                <td class='t1'>
                                    <a href="{HD: $smarty.const.__ROOT__}?c=Show&asid={HD: $ansData[m].askid}&cid={HD: $ansData[m].cid}">{HD:  $ansData[m].acon }</a><span> [{HD:  $ansData[m].title }]</span>
                                </td>
                                <td>{HD: $ansData[m].ans}</td>
                                <td class='t3'>{HD: $ansData[m].atime|date_format:'%Y-%m-%d %H:%M'}</td>
                            </tr>
                            {HD: /section}
                            {HD: else}
                            <tr height='140'>
                                <td>你还没有进行过回答</td>
                            </tr>
                            {HD: /if}
                        </table>
                    </div>
                </div>
            </div>
            <!--------------------中部结束-------------------->

            <!--------------------底部-------------------->
            <!-- 底部 -->
            <div id='bottom'>
                <p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
                <p>京公安网备xxxxxxxxxxxx</p>
            </div>
            <!--[if IE 6]>
                <script type="text/javascript" src="{HD: $smarty.const.__PUBLIC__}/Js/iepng.js"></script>
                <script type="text/javascript">
                    DD_belatedPNG.fix('.logo','background');
                    DD_belatedPNG.fix('.nav-sel a','background');
                    DD_belatedPNG.fix('.ask-cate i','background');
                </script>
            <![endif]-->
            </body>
            </html>
            <!-- 底部结束 -->